.main_chat {
    position: relative;
    width: 1200px;
    height: 82vh;
    margin: 16px auto 0;
    // max-height: 795px;
    min-height: 575px;
    padding: 20px 30px 49px 30px;
    background-color: #ffffff;
    border-radius: 8px;
    // margin-right: -30px;
    min-height: 500px;

    .chat_option {
        padding-bottom: 12px;
        margin-right: 30px;
        border-bottom: 1px solid #f2f2f2;

        &::after {
            content: "";
            display: block;
            clear: both;
        }

        .list_info {
            display: inline-block;
            vertical-align: middle;
            color: #999;

            span {
                color: #333;
            }
        }

        .option_search {
            float: right;
            display: block;
        }

        .address_btn {
            float: right;
            height: 30px;
            line-height: 30px;
            padding: 0 12px;
            color: #fff;
            background-image: linear-gradient(-270deg, #009cff 0%, #00b9ff 100%);
            box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.03);
            border-radius: 3px;
            cursor: pointer;
            margin-left: 10px;

            &:hover {
                opacity: .8;
            }

            i {
                display: inline-block;
                vertical-align: middle;
                width: 14px;
                height: 14px;
                background-image: url(../../../images/addressBook.svg);
                background-size: 100% 100%;
                margin-right: 3px;
                position: relative;
                top: -1px;
            }
        }

        .setting_btn {
            float: right;
            height: 30px;
            line-height: 30px;
            padding: 0 12px;
            color: #fff;
            background-image: linear-gradient(-270deg, #009cff 0%, #00b9ff 100%);
            box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.03);
            border-radius: 3px;
            cursor: pointer;
            margin-left: 10px;

            &:hover {
                opacity: .8;
            }

            i {
                display: inline-block;
                vertical-align: middle;
                width: 14px;
                height: 14px;
                background-image: url(../../../images/设置.svg);
                background-size: 100% 100%;
                margin-right: 3px;
                position: relative;
                top: -1px;
            }
        }
    }

    .chat_list {
        padding-right: 30px;

        .chat_one {
            height: 65px;
            padding: 14px 20px 14px 8px;
            border-bottom: 1px solid #f2f2f2;
            cursor: pointer;

            &:hover {
                background-color: #f5f7fa;

                .one_option {
                    display: inline-block;
                }
            }

            .one_header {
                display: inline-block;
                vertical-align: middle;
                width: 36px;
                height: 36px;
                border-radius: 50%;
                // background-image: url(../../../images/group.png);
                background-color: #ccc;
                background-size: 100% 100%;
                margin: 0 8px 0 12px;

                .super_admin {
                    display: inline-block;
                    margin: 24px 0 0 5px;
                    width: 30px;
                    height: 20px;
                    line-height: 20px;
                    text-align: center;
                    background-color: #fb9a5a;
                    border-radius: 3px;
                    color: #fff;
                    font-size: 12px;
                }
            }

            .one_info {
                display: inline-block;
                vertical-align: top;
                width: calc(100% - 339px);
                padding-right: 100px;

                .detail_msg_content{
                    display: inline-block;
                    height: 22px;
                    overflow: hidden;
                }

                .info_name {
                    margin-bottom: 2px;
                    height: 19px;

                    .name_text {
                        display: inline-block;
                        vertical-align: middle;
                        max-width: calc(100% - 100px);
                        text-overflow: ellipsis;
                        overflow: hidden;
                        white-space: nowrap;
                    }

                    .name_time {
                        color: #999;
                        font-size: 12px;
                        margin-left: 12px;
                    }


                }

                .info_detail {
                    color: #999;
                    font-size: 12px;

                    .detail_name {
                        display: inline-block;
                        vertical-align: middle;
                        // margin-right: 8px;
                        max-width: calc(100% - 100px);
                        text-overflow: ellipsis;
                        overflow: hidden;
                        white-space: nowrap;
                    }

                    .read_badge {
                        display: inline-block;
                        vertical-align: middle;
                        // margin-left: 5px;
                        margin-right: 8px;
                        position: relative;
                        font-size: 12px;
                        top: -1px;

                        .ant-scroll-number-only-unit {
                            font-size: 12px;
                        }
                    }

                    .read_count {
                        display: inline-block;
                        vertical-align: top;
                        text-align: center;
                        font-size: 12px;
                        padding: 1px;
                        // line-height: 14px;
                        background-color: red;
                        color: #fff;
                        border-radius: 10px;
                        margin-left: 5px;
                    }

                    .silentlogo {
                        display: inline-block;
                        vertical-align: middle;
                        width: 12px;
                        height: 12px;
                        background-image: url(../../../images/Shield-i.png);
                        // margin-left: 8px;
                        margin-right: 8px;
                        position: relative;
                        top: 0px;
                        left: -3px;
                    }

                    .noreadlogo {
                        display: inline-block;
                        vertical-align: middle;
                        width: 12px;
                        height: 14px;
                        background-image: url(../../../images/silent.svg);
                        position: relative;
                        top: 0px;
                        left: -3px;
                    }
                }
            }

            .one_option {
                display: none;
                vertical-align: top;
                line-height: 42px;
                text-align: right;
                width: 250px;

                .blue_text {
                    color: #0099ff;

                    &:hover {
                        opacity: .8;
                    }
                }

                .slice_line {
                    display: inline-block;
                    vertical-align: middle;
                    width: 1px;
                    height: 10px;
                    background-color: #d9d9d9;
                    margin: 0 10px;
                    position: relative;
                    top: -1px;
                }

                .red_text {
                    color: #ef5757;

                    &:hover {
                        opacity: .8;
                    }
                }
            }
        }
    }

    .chat_footer {
        margin-right: 30px;
        text-align: right;
        margin-top: 20px;

        &::after {
            content: "";
            display: block;
            clear: both;
        }
    }
}

.silent_modal {
    .ant-modal-body {
        margin: 0 30px 0 32px;
    }

    .silent_info {
        position: relative;
        color: #999;
        margin-bottom: 12px;

        &::after {
            content: "";
            display: block;
            clear: both;
        }

        span {
            color: #333;
        }

        .deletelogo {
            position: absolute;
            right: 0;
            // float: right;
            color: #0099ff;
            cursor: pointer;
            white-space: nowrap;

            &:hover {
                opacity: .8;
            }
        }
    }

    .hidden_container {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        padding-right: 22px;
        justify-content: flex-start;
        /* 替代space-between布局方式 */
        margin-right: 32px;
    }

    .silent_one {
        position: relative;
        flex: 1;
        display: flex;
        align-items: center;
        margin: 0 20px 16px 0;
        /* 这里的10px = (分布个数3-1)*间隙5px, 可以根据实际的分布个数和间隙区调整 */
        width: calc((100% - 40px) / 3);
        /* END */

        /* 加入这两个后每个item的宽度就生效了 */
        min-width: calc((100% - 40px) / 3);
        max-width: calc((100% - 40px) / 3);
        padding-right: 20px;

        &::after {
            content: '';
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 1px;
            height: 14px;
            background-color: #e1e1e1;
            border-radius: 2px;

        }


        .silent_header {
            display: inline-block;
            vertical-align: middle;
            width: 24px;
            height: 24px;
            // background-color: red;
            background-image: url(../../../images/0g00901.svg);
            background-size: contain;
            border-radius: 50%;
            margin-right: 5px;
        }

        .silent_name {
            display: inline-block;
            vertical-align: top;
            width: calc(100% - 78px);
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;
        }

        .deletelogo {
            color: #ef5757;
            margin-left: 20px;
            cursor: pointer;

            &:hover {
                opacity: .8;
            }
        }
    }

    .silent_one:nth-child(3n) {
        margin-right: 0;
        &::after {
            display: none;
        }
    }
}